<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        i{
            font-weight: bolder;
            border: 1px solid #ccc;
            font-style: normal;
            display: inline-block;
            text-align: center;
            padding: 3px;
        }
        h1 {
            width: 800px;
            margin: 20px auto;
            text-align: center;
        }

        ul {
            list-style: none;
        }
        table{
            margin: 0 auto;
            border: 1px solid blueviolet;
            border-spacing: 0;
            text-align: center;
        }
        td{
            border: 1px solid blueviolet;
            width: 150px;
        }
        .right{
            width: 600px;
            text-align: center;
            margin: 20px auto;
        }
    </style>
</head>

<body>
    <h1>welcome 购物车</h1>
    <table>
        <thead>
            <tr>
                <td><label for="">
                        <input type="checkbox" name="allCheack" class="allCheak">全选
                    </label></td>
                <td>商品名称</td>
                <td>商品价格</td>
                <td>数量</td>
                <td>小计</td>
                <td>操作</td>
            </tr>
        </thead>
        <tbody>
            <!-- <tr>
                <td><label for="">
                        <input type="checkbox">选中
                    </label></td>
                <td>商品名称</td>
                <td>商品价格</td>
                <td>数量</td>
                <td>小计</td>
                <td>操作</td>
            </tr> -->
        </tbody>
    </table>
    <div class="right">
        合计总价 &nbsp;&nbsp;&nbsp;<span class="totalPrice">0</span>￥<button>提交订单</button>
    </div>
    <script src="../js/jquery-3.4.1.min.js"></script>
    <script src="../js/cart.js"></script>
</body>

</html>